package org.deschutter.init;

import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * User: Berten De Schutter
 * Date: 08-Jul-2009
 * Time: 20:54:39
 */

public class ScimitarBotMainNetgamers {
 static ApplicationContext applicationContext;


public static void main(String[] args) throws Exception {

    try {
    applicationContext = new ClassPathXmlApplicationContext("classpath:scimitar-configuration.xml");
    } catch (BeansException e) {
        e.printStackTrace();
    }
    }
 public static ApplicationContext getApplicationContext() {
        return applicationContext;
    }

    public static void setApplicationContext(ApplicationContext applicationContext) {
        ScimitarBotMainNetgamers.applicationContext = applicationContext;
    }
}
